cmake_minimum_required(VERSION 3.2)
project(Texture CXX)

set(CXX_STANDARD_REQUIRED True)
set(CXX_STANDARD 20)
set(WIN32_EXECUTABLE True)
add_definitions(-DUNICODE -D_UNICODE)
aux_source_directory(${PROJECT_SOURCE_DIR}/src SRC)

add_subdirectory(${PROJECT_SOURCE_DIR}/../imgui ${PROJECT_SOURCE_DIR}/../imgui/build)

add_executable(Texture WIN32 ${SRC})
target_include_directories(
    Texture
    PUBLIC
    ${PROJECT_SOURCE_DIR}/include
    ${PROJECT_SOURCE_DIR}/../imgui
)
target_link_libraries(Texture ImGui)